home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 October
/
EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso
/
Aminet
/
util
/
wb
/
Picticon1_4.lha
/
Picticon
/
Source
/
mod
/
iff.e
< prev
next >
Wrap
Text File
|
1995-06-07
|
476b
|
24 lines
OPT MODULE
OPT EXPORT
MODULE 'libraries/iffparse','iffparse'
PROC savevaluechunk(handle,form,chunk,longvalue)
DEF buffer
buffer:=New(4)
IF (buffer)
PushChunk(handle,form,chunk,4)
PutLong(buffer,longvalue)
WriteChunkBytes(handle,buffer,4)
PopChunk(handle)
Dispose(buffer)
ENDIF
ENDPROC
PROC getvaluechunk(handle,form,chunk,longvalue)
DEF sp=NIL:PTR TO storedproperty
IF (sp:=FindProp(handle,form,chunk))
longvalue:=Long(sp.data)
ENDIF
ENDPROC longvalue